package pe.com.trener.layer.model.persistence.daoimpl;

/**
 * @author:   Oscar Erick Candela Carbajal
 * @rol:	  Analista Programador
 * @proyecto: Portal Trener
 *
 */

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import pe.com.trener.layer.model.persistence.dao.TareaDao;
import pe.com.trener.layer.model.pojo.Tarea;

public class TareaDaoImpl extends HibernateDaoSupport implements TareaDao {

	public void crear(Tarea objectModel) throws Exception {		
		try {
			getHibernateTemplate().save(objectModel);
		} catch(Exception e) {
			e.printStackTrace();
			throw new Exception(e);
		} finally {		
		} 			
	}	
}